import request from '@/utils/request.js';

// 根据Code获取读链接
export function getDownloadUrlByCode(params) {
	return request({
		url: `/material/getDownloadUrlByCode`,
		method: "GET",
		params: {
			code: params.code
		},
		headers: {
			'Accept-Language': params.acceptLanguage
		}
	});
}